package com.itcast.donkey.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;

import com.itcast.donkey.R;

/**
 * Created by lanouhn on 16/9/8.
 */
public class FeedBackActivity extends Activity {
    private ImageView logo;
    private EditText et_idea, et_email_qq;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_feed_back);
        initView();
        initEvent();
    }

    private void initView() {
        logo = (ImageView) findViewById(R.id.logo);
        et_idea = (EditText) findViewById(R.id.et_idea);
        et_email_qq = (EditText) findViewById(R.id.et_email_qq);

    }

    private void initEvent() {
        logo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FeedBackActivity.this, MainActivity.class);
                startActivity(intent);
            }
        });

    }
}
